/*
 * Created by JFormDesigner on Thu May 25 21:13:34 CST 2023
 */

package UI;

import java.awt.*;
import java.util.*;
import javax.swing.*;

/**
 * @author wxz
 */
public class Loginerror extends JDialog {
    public Loginerror(Frame owner) {
        super(owner);
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        ResourceBundle bundle = ResourceBundle.getBundle("Gui");
        textField1 = new JTextField();

        //======== this ========
        setPreferredSize(new Dimension(400, 150));
        setMinimumSize(new Dimension(344, 50));
        var contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //---- textField1 ----
        textField1.setText(bundle.getString("loginerror.textField1.text"));
        textField1.setFont(new Font("\u534e\u6587\u884c\u6977", Font.BOLD, 20));
        textField1.setMinimumSize(new Dimension(344, 50));
        textField1.setPreferredSize(new Dimension(344, 50));
        textField1.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
        textField1.setHorizontalAlignment(SwingConstants.CENTER);
        contentPane.add(textField1, BorderLayout.CENTER);
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JTextField textField1;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
